Miscellaneous fixes for Android port
authorPo Lu <luangruo@yahoo.com>
Wed, 24 Apr 2024 03:42:48 +0000 (11:42 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 24 Apr 2024 03:42:48 +0000 (11:42 +0800)
commitd3d1be8ae56efe29e4a721c5dd4e1fa973cf9d5a
treef443cb0d7b45bc867f820cc70966be7280a1c03d
parentd8d4fd8c6dbe11542432fccdc31701da9f686460
Miscellaneous fixes for Android port

* lisp/touch-screen.el (touch-screen-hold, touch-screen-drag):
Clear deactivate-mark if the mark is activated to prevent undue
deactivation after completion.

* lisp/wid-edit.el (widget-field, widget-single-line-field):
Insert specifications suitable for monochrome displays.

* src/androidfns.c (Fxw_display_color_p, Fx_display_grayscale_p):
Report color and/or grayscale properly.

* src/image.c (image_create_bitmap_from_file)
[HAVE_ANDROID]: If a file with no extension cannot be located,
append .xbm and retry.
lisp/touch-screen.el
lisp/wid-edit.el
src/androidfns.c
src/image.c